<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>美食列表</title>
	<meta name="keywords" content="" />
  <meta name="description" content="" />
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <link href="/food/Public/log/css/font-awesome.min.css" rel="stylesheet" type="text/css">
  <link href="/food/Public/log/css/bootstrap.min.css" rel="stylesheet" type="text/css">
  <link href="/food/Public/log/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css">
  <link href="/food/Public/log/css/templatemo_style.css" rel="stylesheet" type="text/css"> 

<link href="/food/Public/mb1/css/bootstrap.css" rel="stylesheet">
<link href="/food/Public/mb1/css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Furnished Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>

<script src="/food/Public/mb1/js/jquery.min.js"> </script>
           <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
  <!-- js -->
     <script src="/food/Public/mb1/js/bootstrap.js"></script>
  <!-- js -->
    <script type="text/javascript" src="/food/Public/mb1/js/move-top.js"></script>
<script type="text/javascript" src="/food/Public/mb1/js/easing.js"></script>
<!--/script-->
<!-- <script>
          function all_checked() {
            var all_check = document.getElementById("allCheck");
              var check=document.getElementsByName("Check[]");
                if (all_check.checked) {
                    for(j=0;j<check.length;j++){
                        check[j].checked=1;
                    }
                } else {
                    for(j=0;j<check.length;j++){
                        check[j].checked=0;
                    }
                }
             }
             </script> -->
<script type="text/javascript">
      jQuery(document).ready(function($) {
        $(".scroll").click(function(event){   
          event.preventDefault();
          $('html,body').animate({scrollTop:$(this.hash).offset().top},900);
        });
      });
</script>
</head>
<div class="header">
<div class="header-top">
    <div class="container">
      <!-- <div class="header-info navbar-left wow fadeInLeft animated" data-wow-delay=".5s" style="visibility: visible; -webkit-animation-delay: .5s;">
            <p>Information Service : 000-1234-1234</p>
          </div>     -->    
      <form class="navbar-form navbar-right wow fadeInRight animated" data-wow-delay=".5s" style="visibility: visible; -webkit-animation-delay: .5s;">
        <div class="form-group">
          <input type="text" class="form-control" placeholder="Search">
          <button type="submit" class="btn btn-default" aria-label="Left Align">
            <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
          </button>
          
        </div>
        
      </form> 
    </div>  
    </div>
    <div class="clearfix"> </div>
  </div>



<div class="header-nav">
  <div class="container">
    <div class="logo">
      <a href="<?php echo U('Index/index');?>"><img src="/food/Public/mb1/images/logo.png" /></a>
    </div>
    <div class="navigation">
      <nav class="navbar navbar-default">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"> </span>
            <span class="icon-bar"> </span>
            <span class="icon-bar"> </span>
            </button>
          </div>
          <div class="collapse navbar-collapse nav-wil" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
            <li class="active"><a href="<?php echo U('Index/index');?>">首页 <span class="sr-only">(current)</span></a></li>
            <!-- <li><a href="about.html">About</a></li>
            <li><a href="services.html">Services</a></li> -->
						<li><a href="<?php echo U('Meishis/meishis');?>">发表美食</a></li>
            <li><a href="<?php echo U('Meishis/meishis');?>">用户分享</a></li>
						<li><a href="<?php echo U('Users/login');?>">登录</a></li>
						<li><a href="<?php echo U('Users/reg');?>">注册</a></li>

            </ul>
        <div class="clearfix"> </div>
      </div><!-- /.navbar-collapse -->
    </nav>
  </div>
  </div>
  </div>
  <div class="clearfix"> </div>
</div>

<body>


 <div class="blog">
    <div class="container">
      <div class="blog-head heading">
        <h3>Blog</h3>
      </div>  
      <div class="blog-top">
        <!-- <div class="col-md-9 blog-left">
          <div class="blog-main">
            <a href="blog.html" class="bg">DUIS AUTE IRURE DOLOR IN REPREHENDERIT IN VOLUPTATE VELIT ESSE</a>
            <p>Post by <a href="#">Admin</a> on saturday, March 02, 2015  <a href="#">5 comments</a></p>
          </div> --> 
          <?php if(is_array($foods)): $i = 0; $__LIST__ = $foods;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="blog-main-one">
            <div class="blog-one">

              <div class="col-md-5 blog-one-left">


                <a href="#"><img src="/food/Public/Uploads/foodphoto/<?php echo ($vo["picture"]); ?>" alt="" /></a>


              </div>
              <div class="col-md-7 blog-one-left">
               <table> <p>
               <tr>
        <td>美食名称</td>
        <td><?php echo ($vo["foods_name"]); ?></td>
    </tr>
    
  
    <tr>
        <td>详细信息</td>
        <td><?php echo ($vo["intro"]); ?></td>
    </tr>
    
    <tr>
        <td>发布时间</td>
        <td><?php echo ($vo["uploaddate"]); ?></td>
    </tr></p></table>
                <div class="b-btn">
                  <a href="single.html">Read more</a>
                </div>
              </div>
              <div class="clearfix"></div>
            </div>  
                            <div class="pagination">
                    <nav>
                        <ul class="pager">
                          <li><a href="#">Previous</a></li>
                          <li><a href="#">Next</a></li>
                        </ul>
                    </nav><?php endforeach; endif; else: echo "" ;endif; ?>
                  </div>
              </div> 








</body>
</html>